package it.sarasini.selectablelist;

public class StateListItem {
	
	private int id;
	private boolean selected;

	public StateListItem(int id) 
	{	
		this.selected = false;
		this.id = id;
	}
	
	public int getId() {
		
		return id;
	}
	
	public void select() {
		
		selected = true;
	}
	
	public void unSelect() {
		
		selected = false;
	}
	
	public boolean isSelected() {
		
		return selected;
	}

}
